<style>
body { background: #FBFBFB; }
#login-form{width:320px; margin: 0 auto; font-family: sans-serif;}
#login-form{padding:26px 24px 30px;font-weight:normal;background:#fff;border:1px solid #e5e5e5;-moz-box-shadow:rgba(200,200,200,0.7) 0 4px 10px -1px;-webkit-box-shadow:rgba(200,200,200,0.7) 0 4px 10px -1px;box-shadow:rgba(200,200,200,0.7) 0 4px 10px -1px;}
#login-form label {display: block; color: #777; font-size: 14px; margin-top: 8px;}
#LoginForm_username, #LoginForm_password {margin: 0; border: 1px solid #E5E5E5; -moz-box-shadow: inset 1px 1px 2px rgba(200,200,200,0.2); -webkit-box-shadow: inset 1px 1px 2px rgba(200,200,200,0.2); box-shadow: inset 1px 1px 2px rgba(200,200,200,0.2); font-size: 24px; margin-bottom: 3px; margin-top: 3px;}
#sbmt {padding: 8px; font-size: 15px; margin: 0px; margin-top: 10px; cursor: pointer; padding-left: 15px; padding-right: 15px;}
.errorMessage { color: #FF3E3E; }
</style>
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'login-form',
	'enableClientValidation'=>false,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>
<label>Логин</label>
<?php echo $form->textField($model,'username'); ?>
<?php echo $form->error($model,'username'); ?>
<label>Пароль</label>
<?php echo $form->passwordField($model,'password'); ?>
<?php echo $form->error($model,'password'); ?>
<?php echo CHtml::submitButton('Войти', array('id' => 'sbmt')); ?>
<?php $this->endWidget(); ?>
